projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e45ab76
)
recorder: Show details for blend nodes
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 28 Sep 2017 23:40:03 +0000
(19:40 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 28 Sep 2017 23:40:03 +0000
(19:40 -0400)
gtk/inspector/recorder.c
patch
|
blob
|
history
diff --git
a/gtk/inspector/recorder.c
b/gtk/inspector/recorder.c
index d8f7bcac64e64c351c7164f94f35dc57e27fabdb..19786a99fd7dcd01cbc7eeb9cdd8965c3cadaf87 100644
(file)
--- a/
gtk/inspector/recorder.c
+++ b/
gtk/inspector/recorder.c
@@
-409,6
+409,22
@@
populate_render_node_properties (GtkListStore *store,
}
break;
+ case GSK_BLEND_NODE:
+ {
+ GskBlendMode mode = gsk_blend_node_get_blend_mode (node);
+ const char *text;
+
+ text = g_enum_to_string (GSK_TYPE_BLEND_MODE, mode);
+ gtk_list_store_insert_with_values (store, NULL, -1,
+ 0, "Blendmode",
+ 1, text,
+ 2, FALSE,
+ 3, NULL,
+ -1);
+ g_free (text);
+ }
+ break;
+
default: ;
}
}